﻿"use strict";
define(["service/service", "service/httpService"], function (service) {
    service.factory("shopInfoService", function ($location, httpService) {
        var methods = {
            gets: function (params) {
                return httpService.get("/admin/shopInfo/gets", params);
            },
            get: function (params) {
                return httpService.get("/admin/shopInfo/get", params);
            },
            enable: function (id, status) {
                return httpService.post("/admin/shopInfo/UpdateStatus", { id: id, status: status });
            },
            updateShopInfo: function (params) {
                return httpService.post("/admin/shopInfo/UpdateShopInfo", params);
            },
           
        }
        return methods;
    });
});